from unittest import TestSuite,TestLoader
from test_cases.test_login import TestLogin
from test_cases.test_userinfo import TestUserInfo
from test_cases.test_address import TestAddress
from BeautifulReport import BeautifulReport as bf

suite = TestSuite()
loader = TestLoader()

suite.addTests(loader.loadTestsFromTestCase(TestLogin))
suite.addTests(loader.loadTestsFromTestCase(TestUserInfo))
suite.addTests(loader.loadTestsFromTestCase(TestAddress))

runner = bf(suite)
runner.report(filename=r"./test_results/html/test_report.html", description='这个描述参数是必填的')


